package com.springapp.mvc.dao;

import com.springapp.mvc.entity.Student;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer studentId);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer studentId);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    Student loadByStudentName(String studentName);

    List<Student> list(Map<String, Object> paras);

    int count(Map<String, Object> paras);
}